| lcTIN_GetIsoLabel | Home |
|
BOOL lcTIN_GetIsoLabel ( int iLabel, double* pX, double* pY, double* pAngle, int* pAlign ); |
| iLabel | |
| Index of isoline label. | |
| pX pY | |
| Pointers to variables that will receive coordinates of label insertion. | |
| pAngle | |
| Pointer to a variable that will receive value of label rotation angle. | |
| pAlign | |
|
Pointer to a variable that will receive value of label alignment. Can be the following values: LC_TA_LEFCEN, LC_TA_RIGCEN, LC_TA_CENBOT | |
| If the function succeeds, the return value is nonzero (TRUE). |
| lcTIN_IsoMakeLabels, lcTIN_IsoGetFirstVer, lcTIN_IsoGetNextVer |
HANDLE hIso;
int n, i, nLabels, align;
double x, y, z, ang;
n = lcPropGetInt( 0, LC_PROP_TIN_NISOLINES );
hIso = lcTIN_GetFirstIso();
while( hIso ){
z = lcTIN_IsoGetHeight( hIso );
// get labels positions
nLabels = lcTIN_IsoMakeLabels( hIso );
for (i=0; i<nLabels; ++i){
lcTIN_GetIsoLabel( i, &x, &y, &ang, &align );
}
hIso = lcTIN_GetNextIso( hIso );
}